package samples.d2.shapes 
{
	import flash.geom.Point;
	import samples.BaseSample;
	import shapes.shapes2D.Arc;
	
	/**
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class Arc0 extends BaseSample 
	{
		
		public function Arc0() 
		{
			
			var arc:Arc;
			
			for ( var i:int = 0; i < 50; i++ )
			{
				
				arc = new Arc( new Point( sw/2, sh/2 ), i * 6, ( Math.random() -.5 ) * 360, Math.random() * 360 );
				
				arc.strokeWidth = ( Math.random() * 6 );
				arc.fillAlpha = 0;
				
				//arc.strokeAlpha = 0;
				//arc.fillAlpha = ( Math.random() ) * .25;
				
				arc.draw();
				addChild( arc );
				
			}
		}
		
	}

}